package com.yunxin.core.utils.infra.common.constant;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

import java.time.ZoneId;
import java.time.ZoneOffset;

/**
 * @author zero°
 * @since 2023-06-13
 */
@Getter
@RequiredArgsConstructor
public enum TimeZoneConstant {

    /**
     * 上海-中国时区
     */
    CHINA(ZoneId.of("Asia/Shanghai"), "上海-中国时区", ZoneOffset.of("+08:00"));

    private final ZoneId zoneId;
    private final String description;
    private final ZoneOffset offset;
}
